/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;


import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.util.ArrayList;
import javax.swing.JOptionPane;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Admin
 */
public class IssueNote  implements Serializable{

    public int IssueID;
    public String ReaderID, BookID, DueDate, IssueDate, ReturnDate;
    public int Fine;
    public String Note;

    public IssueNote() {
    }

    public IssueNote(int IssueID, String ReaderID, String BookID, String DueDate, String IssueDate, String ReturnDate, int Fine, String Note) {
        this.IssueID = IssueID;
        this.ReaderID = ReaderID;
        this.BookID = BookID;
        this.DueDate = DueDate;
        this.IssueDate = IssueDate;
        this.ReturnDate = ReturnDate;
        this.Fine = Fine;
        this.Note = Note;
    }     
    public Vector toVector() {
        Vector v = new Vector();
        v.addElement(IssueID);           
        v.addElement(ReaderID);        
        v.addElement(BookID);
        v.addElement(DueDate);
        v.addElement(IssueDate);        
        v.addElement(ReturnDate);
        v.addElement(Fine);        
        return v;
    }
    
}
